

export default {
  state: {
    subjects: new Map()
  },

  getters:{
    subjects: function (state) {
      return state.subjects;
    }
  },

  mutations:{
    setSubjects: function (state,subjects) {
      state.subjects = subjects;
    }
  },

  actions:{
    setSubjects: function (context,subjects) {
      context.commit('setSubjects',subjects);
    }
  }
}
